package com.lei.androidheight_four.contract;

import com.lei.mvpmodel.model.IModel;
import com.lei.mvpmodel.presenter.IPresenter;
import com.lei.mvpmodel.view.IView;
import com.lzy.okgo.callback.StringCallback;

public interface LoginContract {
    interface View extends IView {
        void gomain(String msg);
    }

    interface Model extends IModel {
        void login(String name, String pwd, StringCallback callback);
        void register(String name,String pwd,StringCallback callback);
    }

    interface Presenter extends IPresenter {
        void login(String name,String pwd);
        void register(String name,String pwd);
    }
}
